package com.qf.smartplatform.service;

import com.qf.smartplatform.pojo.Category;

import java.util.List;

/**
 * projectName:day12_27_Test
 * author:guoLei
 * time:2021/12/29 17:46
 * description:
 */
public interface CategoryService {
    void addCategory(Category category);

    int updateCategory(Category category);

    Category selectById(Long cId);
    //查询所有
    List<Category> selectAllCategories();

    List<Category> selectCategoriesByNameLike(String cName);

    int deleteCategoriesByIds(List<Long> ids);
}
